Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Creating and Configuring Viewers


Q3ViewerSetPort

You can use the Q3ViewerSetPort function to set the color graphics port associated with a viewer object.

OSErr Q3ViewerSetPort (TQ3ViewerObject theViewer, CGrafPtr port);
theViewer
A viewer object.
port
A pointer to a color graphics port that specifies the window with which the specified viewer is to be associated.
DESCRIPTION
The Q3ViewerSetPort function sets the color graphics port associated with the viewer object specified by the theViewer parameter to the port specified by the port parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996